﻿using System;

namespace VSTalk.Tools
{
    /// <summary>
    /// Manages nested event subscriptions 
    /// </summary>
    public interface ISubscriptionJoiner
    {
        /// <summary>
        /// Allows to stop handling nested events
        /// </summary>
        /// <param name="unit"></param>
        void Join(ISubscription unit);
    }
}